package com.zyj.exam_app.exam.bean;

import com.zyj.exam_app.question_manager.bean.QuestionBean;

/**
 * 用户答卷的答案
 */
public class UserAnswer {
    /**
     * 试卷ID
     */
    private String examPaperId;
    /**
     * 试题
     */
    private QuestionBean question;
    /**
     * 答案
     */
    private String answer;

    /**
     * 是否正确
     */
    private boolean isRight;

    public QuestionBean getQuestion() {
        return question;
    }

    public void setQuestion(QuestionBean question) {
        this.question = question;
    }

    public String getAnswer() {
        return answer;
    }

    public void setAnswer(String answer) {
        this.answer = answer;
    }

    public boolean isRight() {
        return isRight;
    }

    public void setRight(boolean right) {
        isRight = right;
    }

    public String getExamPaperId() {
        return examPaperId;
    }

    public void setExamPaperId(String examPaperId) {
        this.examPaperId = examPaperId;
    }
}
